package com.zrgk.util;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;


public class PageUtil {
	private int totalPage ;
	private int totalCount ;
	private int pageSize = 5;
	private int nowPage = 1;
	@SuppressWarnings("rawtypes")
	private List list = null;
	private Map<String,String> searchInfo;//存储搜索信息的map
	
	@SuppressWarnings("rawtypes")
	public PageUtil()
	{
		list = new ArrayList();
	}
	public int getNowPage() {
		return nowPage;
	}
	public void setNowPage(int nowPage) {
		this.nowPage = nowPage;
	}
	public int getTotalPage() {
		return totalPage;
	}
	public void setTotalPage(int totalPage) {
		this.totalPage = totalPage;
	}
	public int getTotalCount() {
		return totalCount;
	}
	public void setTotalCount(int totalCount) {
		this.totalCount = totalCount;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	@SuppressWarnings("rawtypes")
	public List getList() {
		return list;
	}
	@SuppressWarnings("rawtypes")
	public void setList(List list) {
		this.list = list;
	}
	
	public Map<String, String> getSearchInfo() {
		return searchInfo;
	}
	public void setSearchInfo(Map<String, String> searchInfo) {
		this.searchInfo = searchInfo;
	}
	
}
